<?php
$categories = $viewModel->get('categories');
?>

<div id="footer">
    <div class="container">
        <ul class="ft-menu">
            <li class="ft-home"><a href="<?php echo BASE_URL . 'Home'; ?>">Home</a></li>
            <li>
                <a href="<?php echo BASE_URL . 'Home'; ?>">Trang chủ</a>
                <ul>
                    <li><a href=""></a></li>
                </ul>
            </li>
            <li><a href="<?php echo BASE_URL . 'Home/Timetable' ?>">THỜI KHÓA BIỂU</a></li>
            <?php
            foreach ($categories as $cate) {
                echo '<li>
      	<a href="' . BASE_URL . 'Home/ViewsContent/' . $cate->category_id . '">' . $cate->category_name . '</a>
	  </li>';
            }
            ?>
            <li><a href="<?php echo BASE_URL . 'Home/Contact/' ?>">Liên hệ</a></li>
        </ul>
    </div>
    <div id="CopyRight">
        <p>PL Tech Services</p>
    </div>
</div><!-- end menu-->